package com.zxx.pattern.templatePattern.template1;

/**
 * @author zxx on 2021/4/9
 */
public class TeaMaker extends BeverageMaker {

    @Override
    protected void boilWater() {
        //super.boilWater();
        System.out.println("不让父类少吹..");
    }

    @Override
    protected void brew() {
        System.out.println("冲泡茶叶。。。");
    }

    @Override
    protected void addCondiments() {
        System.out.println("添加柠檬。。。");
    }
}
